package com.ruoyi.bus.domain;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 【请填写功能名称】对象 bus_maintain
 * 
 * @author ruoyi
 * @date 2021-09-01
 */
public class BusMaintain extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 维护单位id */
    private Long maintainId;

    /** 维护单位名称 */
    @Excel(name = "维护单位名称")
    private String maintainName;

    /** 地址 */
    @Excel(name = "地址")
    private String address;

    /** 联系人 */
    @Excel(name = "联系人")
    private String contactPerson;

    /** 手机号码 */
    @Excel(name = "手机号码")
    private String contactPhone;

    public void setMaintainId(Long maintainId) 
    {
        this.maintainId = maintainId;
    }

    public Long getMaintainId() 
    {
        return maintainId;
    }
    public void setMaintainName(String maintainName) 
    {
        this.maintainName = maintainName;
    }

    public String getMaintainName() 
    {
        return maintainName;
    }
    public void setAddress(String address) 
    {
        this.address = address;
    }

    public String getAddress() 
    {
        return address;
    }
    public void setContactPerson(String contactPerson) 
    {
        this.contactPerson = contactPerson;
    }

    public String getContactPerson() 
    {
        return contactPerson;
    }
    public void setContactPhone(String contactPhone) 
    {
        this.contactPhone = contactPhone;
    }

    public String getContactPhone() 
    {
        return contactPhone;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("maintainId", getMaintainId())
            .append("maintainName", getMaintainName())
            .append("address", getAddress())
            .append("contactPerson", getContactPerson())
            .append("contactPhone", getContactPhone())
            .toString();
    }
}
